﻿using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace DDOS
{
   
    class FontManager
    {
        #region Singleton Fields
        private static FontManager instance;
        public static FontManager Instance
        {
            get
            {
                return instance;
            }
        }
        #endregion


        private SpriteFont kooteney48;
        public SpriteFont Kootenay48 { get { return kooteney48; } }

        private SpriteFont times12;
        public SpriteFont Times12 { get { return times12; } }

        private SpriteFont times40;
        public SpriteFont Times40 { get { return times40; } }

        private SpriteFont times18;
        public SpriteFont Times18 { get { return times18; } }

        public static void Initialize(Game game)
        {
            instance = new FontManager();
            instance.kooteney48 = game.Content.Load<SpriteFont>("Kootenay48");
            instance.times12 = game.Content.Load<SpriteFont>("TimesNewRoman12");
            instance.times40 = game.Content.Load<SpriteFont>("TimesNewRoman40");
            instance.times18 = game.Content.Load<SpriteFont>("TimesNewRoman18");
        }

    }
}